package com.ktwlsoft.archivemanage.payload.mendList;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.Date;

@Setter
@Getter
public class MendSubjectImg implements Serializable {

    /**主键**/
    @ApiModelProperty("主键")
    private Long id;

    /**业务外键**/
    @ApiModelProperty("业务外键")
    private Long businessId;

    /**业务类型**/
    @ApiModelProperty("业务类型")
    @Size(max = 50, message = "业务类型参数超长")
    private String businessType;

    /**相对地址**/
    @ApiModelProperty("相对地址")
    @Size(max = 100, message = "相对地址参数超长")
    private String url;

    /**名称**/
    @ApiModelProperty("名称")
    @Size(max = 50, message = "名称参数超长")
    private String fileName;

    /**后缀**/
    @ApiModelProperty("后缀")
    @Size(max = 20, message = "后缀参数超长")
    private String suffix;

    /**大小**/
    @ApiModelProperty("大小")
    private Long size;
}
